package org.spring.sample.common.mapper._3.impl;

import java.util.List;

import javax.annotation.Resource;

import org.mybatis.spring.SqlSessionTemplate;
import org.mybatis.spring.support.SqlSessionDaoSupport;
import org.spring.sample.entity._3.SysUser;
import org.spring.sample.mapper._3.SysUserMapper;
import org.springframework.stereotype.Repository;

@Repository
public class SysUserMapperImpl extends SqlSessionDaoSupport implements SysUserMapper{

	
	@Resource
	public void setSqlSessionTemplate(SqlSessionTemplate sqlSessionTemplate) {
		super.setSqlSessionTemplate(sqlSessionTemplate);
	}

	@Override
	public List<SysUser> selectUser() {
		return this.getSqlSession().selectList("org.spring.sample.mapper._3.SysUserMapper.selectUser", "");
	}

}
